From: Glenn Morris Date: Fri, 3 Dec 2010 03:13:24 +0000 (-0800) Subject: Silence nxml-mode.el compilation. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~5481 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=756112397b36f6e92198b6e691d4b1d73e4eae9c;p=emacs.git Silence nxml-mode.el compilation. * lisp/nxml/nxml-mode.el: Require rng-nxml. (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets): Remove declarations. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 001f04fabd2..40a5902bb68 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,9 @@ 2010-12-03 Glenn Morris + * nxml/nxml-mode.el: Require rng-nxml. + (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets): + Remove declarations. + * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el: * nxml/rng-nxml.el, nxml/rng-valid.el: Remove leading `*' from defcustom docs. diff --git a/lisp/nxml/nxml-mode.el b/lisp/nxml/nxml-mode.el index df614741c53..d1cffdd38a2 100644 --- a/lisp/nxml/nxml-mode.el +++ b/lisp/nxml/nxml-mode.el @@ -38,9 +38,10 @@ (require 'nxml-util) (require 'nxml-rap) (require 'nxml-outln) - -(declare-function rng-nxml-mode-init "rng-nxml") -(declare-function nxml-enable-unicode-char-name-sets "nxml-uchnm") +;; nxml-mode calls rng-nxml-mode-init, which is autoloaded from rng-nxml. +;; So we might as well just require it and silence the compiler. +(provide 'nxml-mode) ; avoid recursive require +(require 'rng-nxml) ;;; Customization